#ifndef IMAGE_VIEW_H
#define IMAGE_VIEW_H

#include <QtGui/QDialog>
#include <QScrollBar>
#include <QTableWidgetItem>
#include "www_data.h"

namespace Ui
{
    class image_view;
}

class image_view : public QDialog
{
    Q_OBJECT

public:
    image_view(QWidget *parent = 0);
    ~image_view();
    void exifView();
    void view_image(QString imagepath, QList<QTableWidgetItem*> image_list);

private:
    Ui::image_view *ui;

    void view_image();

    QImage OriginalImage;
    void exifView(QString imagepath);

private slots:
    void zoom(int SliderValue);
    void choice_image(QListWidgetItem* imagepath);
  //  int exec() : exec();

};

#endif // IMAGE_VIEW_H
